const { getCurrentInstance } = Vue
export default {
  name: 'FooterCom',
  template: '',
  setup (props) {
    const { proxy } = getCurrentInstance();
    const menuList = proxy.$router.options.routes
    // 在setup里面获取参数值
    return {
      menuList
    }
  }
}